package com.xsqf.jt808.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

/**
 * @ClassName: BaiduMapPropertiesConfig
 * @Description: // TODO
 * @Author:
 * @Date: 2020/5/7 10:55
 * @Version: v1.0.0
 */

@Data
@Component
@Validated
@Qualifier(value = "baiduMapPropertiesConfig")
@ConfigurationProperties(prefix = "baidu.map", ignoreInvalidFields = true, ignoreUnknownFields = true)
@PropertySource(value = "classpath:application.properties", encoding = "UTF-8")
public class BaiduMapPropertiesConfig {
    private String sk;

    private String ak;

    private String coordType;

    private String yingyanDomain;

    private Integer yingyanServiceId;

    private String fenceIds;

    private String fenceListUrl;

    private String fenceCreateDistrictFenceUrl;

    private String fenceUpdateDistrictFenceUrl;

    private String fenceQueryStatusByLocationUrl;

    private String fenceAddMonitoredPersonUrl;

    private String fenceDeleteMonitoredPersonUrl;

    private String fenceListMonitoredPersonUrl;

    private String entityAddUrl;

    private String entityUpdateUrl;

    private String entityDeleteUrl;

    private String entityListUrl;

    private String trackAddPointUrl;
}
